<template>
  <div ref="Container" class="appContent">
    <div ref="Search" class="Search module" v-if="$slots.searchForm">
      <slot name="searchForm" />
    </div>
    <div ref="Table" class="Table module" v-if="$slots.table">
      <div class="tableContent">
        <slot name="table" />
      </div>
      <div class="pagination" v-if="$slots.pagination">
        <slot name="pagination" />
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
    }
  },
  watch: {},
  created () {
  },
  mounted () {

  },
  methods: {}
}
</script>

<style lang="scss" scoped>
.appContent {
  padding: 15px;
  background: #f3f3f3;
}

.Search {
  margin-bottom: 15px;
}

.module {
  padding: 15px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 10px 0px #e4e4e4;
}

.pagination {
  margin-bottom: 0;
  padding: 10px 0;
  text-align: right;
}
</style>
